unmodified drivers: use upstream sync_bitops if available
authorJan Beulich <jbeulich@suse.com>
Fri, 16 Mar 2012 10:35:06 +0000 (11:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 Mar 2012 10:35:06 +0000 (11:35 +0100)
commit256eea1f72eb8cada9e2649cd4dfdcd02ea97e83
treeca20f7081e58e5f32798d12425d982a363fe027e
parent6fabc84127a2ab606af29a1b9c1c545b3749093f
unmodified drivers: use upstream sync_bitops if available

The forward ported xenlinux sources in openSuSE 12.2 were switched from
the old synch_bitops to the sync_bitops since kernel version 3.3. Add
compat macros to use either old or new helpers depending on used kernel
source version.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Olaf Hering <olaf@aepfle.de>
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h